package com.student.entity;
//@Classname MedalInfo
//@time 16:42
//OMEN

import java.io.Serializable;

public class MedalInfo implements Serializable {
    private Integer medalId;
    private Integer sportingId;
    private Integer participanId;
    private Integer medalRanking;
    private String medalGrade;
    private String medalDate;

    public MedalInfo(){

    }
    public MedalInfo(Integer medalId,Integer sportingId,Integer participanId,Integer medalRanking,String medalGrade,String medalDate){

        this.medalId=medalId;
        this.sportingId=sportingId;
        this.participanId=participanId;
        this.medalRanking=medalRanking;
        this.medalDate=medalDate;
        this.medalGrade=medalGrade;
    }


    @Override
    public String toString() {
        return "MedalInfo{" +
                "medalId=" + medalId +
                ", sportingId=" + sportingId +
                ", participanId=" + participanId +
                ", medalRanking=" + medalRanking +
                ", medalGrade='" + medalGrade + '\'' +
                ", medalDate='" + medalDate + '\'' +
                '}';
    }

    public Integer getMedalId() {
        return medalId;
    }

    public void setMedalId(Integer medalId) {
        this.medalId = medalId;
    }

    public Integer getSportingId() {
        return sportingId;
    }

    public void setSportingId(Integer sportingId) {
        this.sportingId = sportingId;
    }

    public Integer getParticipanId() {
        return participanId;
    }

    public void setParticipanId(Integer participanId) {
        this.participanId = participanId;
    }

    public Integer getMedalRanking() {
        return medalRanking;
    }

    public void setMedalRanking(Integer medalRanking) {
        this.medalRanking = medalRanking;
    }

    public String getMedalGrade() {
        return medalGrade;
    }

    public void setMedalGrade(String medalGrade) {
        this.medalGrade = medalGrade;
    }

    public String getMedalDate() {
        return medalDate;
    }

    public void setMedalDate(String medalDate) {
        this.medalDate = medalDate;
    }
}
